
const express = require("express");
const fs = require("fs");

//创建router对象
const router = new express.Router();

router.get("/",(request,response)=>{
    fs.readFile("./html/index.html",(error,info)=>{
        response.write(info);
        response.end();
    })
})

module.exports = router;